package com.easyaccount.service;

import com.easyaccount.dao.HotelMapper;
import com.easyaccount.dao.TrafficMapper;
import com.easyaccount.model.Hotel;
import com.easyaccount.model.Traffic;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;

@Service
public class TrafficService {

    @Resource
    private TrafficMapper trafficMapper;

    public void save(List<Traffic> traffics){
        trafficMapper.insertBatch(traffics);
    }
}
